/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "退料检验",TableName = "InspectionSheet")]
    public partial class InspectionSheet:BaseEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [Key]
       [Display(Name ="主键")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Id { get; set; }

       /// <summary>
       ///检验单编号
       /// </summary>
       [Display(Name ="检验单编号")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string InspectionSheetCode { get; set; }

       /// <summary>
       ///检验单名称
       /// </summary>
       [Display(Name ="检验单名称")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string InspectionSheetName { get; set; }

       /// <summary>
       ///来源单据类型
       /// </summary>
       [Display(Name ="来源单据类型")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string SourceDocumentType { get; set; }

       /// <summary>
       ///来源单据编号
       /// </summary>
       [Display(Name ="来源单据编号")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string SourceDocumentCode { get; set; }

       /// <summary>
       ///物料编码
       /// </summary>
       [Display(Name ="物料编码")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string MaterialCode { get; set; }

       /// <summary>
       ///物料名称
       /// </summary>
       [Display(Name ="物料名称")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string MaterialName { get; set; }

       /// <summary>
       ///规格型号
       /// </summary>
       [Display(Name ="规格型号")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string SpecificationModel { get; set; }

       /// <summary>
       ///单位
       /// </summary>
       [Display(Name ="单位")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string Unit { get; set; }

       /// <summary>
       ///批次号
       /// </summary>
       [Display(Name ="批次号")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string BatchNumber { get; set; }

       /// <summary>
       ///检验结论
       /// </summary>
       [Display(Name ="检验结论")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string InspectionConclusion { get; set; }

       /// <summary>
       ///检验日期
       /// </summary>
       [Display(Name ="检验日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? InspectionDate { get; set; }

       /// <summary>
       ///检验人员
       /// </summary>
       [Display(Name ="检验人员")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string InspectionPerson { get; set; }

       /// <summary>
       ///单据状态
       /// </summary>
       [Display(Name ="单据状态")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? DocumentStatus { get; set; }

       
    }
}